package com.codeoss.module.stock.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.codeoss.framework.service.impl.BaseService;
import com.codeoss.module.stock.dao.StockInventoryLineMapper;
import com.codeoss.module.stock.model.StockInventoryLine;
import com.codeoss.module.stock.service.IStockInventoryLineService;

@Service
public class StockInventoryLineService extends BaseService<StockInventoryLineMapper, StockInventoryLine>
		implements IStockInventoryLineService {

	@Override
	public List<StockInventoryLine> getLineListByStockInventoryId(Long stockInventoryId) {
		// TODO Auto-generated method stub
		QueryWrapper<StockInventoryLine> queryWrapper=new QueryWrapper<StockInventoryLine>();
		queryWrapper.eq("stock_inventory_id", stockInventoryId);
		return list(queryWrapper);
	}
}